
const request = require('../../../../../utils/request');
Page({
    data: {
        list:[0,1,2,3,4],
        shop: ''
    },
    onLoad: function(e) {
        console.log(e);
        //商家数据
        request.HttpRequst(true,'program/shops',false,'',{"id":e.id},"GET",false,res => {
            console.log(res.data);
            this.setData({
                shop: res.data
            })
        })
    },
    onReady: function(){
        wx.setNavigationBarTitle({
            title: '排队商家'
        })
    },
    goAdvRoom(){
        wx.navigateTo({
            url: '../lineRoom/lineRoom'
        })
    }
})